package com.yjq.yys.yhCalculate.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class Yh implements Serializable {

    private Integer id;

    private String nId;

    private Integer yhSortId;

    private Integer mainBuff;

    private Double mainValue;

    private Integer level;

    private Integer star;

    private Integer location;

    private Double attackValue;

    private Double attackRate;

    private Double defenceValue;

    private Double defenceRate;

    private Double healthPointValue;

    private Double healthPointRate;

    private Double velocity;

    private Double critRate;

    private Double critDamage;

    private Double effectHit;

    private Double effectAvoid;

    private Integer userId;

    private Boolean isUsable;

    private Boolean isDeleted;

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", nId=").append(nId);
        sb.append(", yhSortId=").append(yhSortId);
        sb.append(", mainBuff=").append(mainBuff);
        sb.append(", mainValue=").append(mainValue);
        sb.append(", level=").append(level);
        sb.append(", star=").append(star);
        sb.append(", location=").append(location);
        sb.append(", attackValue=").append(attackValue);
        sb.append(", attackRate=").append(attackRate);
        sb.append(", defenceValue=").append(defenceValue);
        sb.append(", defenceRate=").append(defenceRate);
        sb.append(", healthPointValue=").append(healthPointValue);
        sb.append(", healthPointRate=").append(healthPointRate);
        sb.append(", velocity=").append(velocity);
        sb.append(", critRate=").append(critRate);
        sb.append(", critDamage=").append(critDamage);
        sb.append(", effectHit=").append(effectHit);
        sb.append(", effectAvoid=").append(effectAvoid);
        sb.append(", userId=").append(userId);
        sb.append(", isUsable=").append(isUsable);
        sb.append(", isDeleted=").append(isDeleted);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}